package com.jz.service;

import com.jz.entity.PageBean;
import com.jz.entity.User;

public interface UserService {
    //登录查询
    public User login(String username , String password);
    //分页查询
    public PageBean<User> queryUser(String name, int pageSize, int curPage);
    //根据编号查询用户信息
    public User queryUserById(String uid);
    //添加用户信息
    public boolean addUser(User u);
    //批量删除
    public boolean deleteUser(String uid);
    //修改用户信息
    public boolean update(User u);

}
